"use strict";(self.webpackChunkcars_app=self.webpackChunkcars_app||[]).push([[179],{2:()=>{function ne(e){return"function"==typeof e}function _o(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Co=_o(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function _r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class yt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ne(r))try{r()}catch(i){t=i instanceof Co?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{nc(i)}catch(s){t=t??[],s instanceof Co?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Co(t)}}add(t){var n;if(t&&t!==this)if(this.closed)nc(t);else{if(t instanceof yt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&_r(n,t)}remove(t){const{_finalizers:n}=this;n&&_r(n,t),t instanceof yt&&t._removeParent(this)}}yt.EMPTY=(()=>{const e=new yt;return e.closed=!0,e})();const ec=yt.EMPTY;function tc(e){return e instanceof yt||e&&"closed"in e&&ne(e.remove)&&ne(e.add)&&ne(e.unsubscribe)}function nc(e){ne(e)?e():e.unsubscribe()}const un={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Eo={setTimeout(e,t,...n){const{delegate:r}=Eo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Eo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function rc(e){Eo.setTimeout(()=>{const{onUnhandledError:t}=un;if(!t)throw e;t(e)})}function oc(){}const CD=hs("C",void 0,void 0);function hs(e,t,n){return{kind:e,value:t,error:n}}let ln=null;function wo(e){if(un.useDeprecatedSynchronousErrorHandling){const t=!ln;if(t&&(ln={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=ln;if(ln=null,n)throw r}}else e()}class ps extends yt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,tc(t)&&t.add(this)):this.destination=AD}static create(t,n,r){return new Cr(t,n,r)}next(t){this.isStopped?ms(function wD(e){return hs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ms(function ED(e){return hs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ms(CD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const MD=Function.prototype.bind;function gs(e,t){return MD.call(e,t)}class ID{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){bo(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){bo(r)}else bo(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){bo(n)}}}class Cr extends ps{constructor(t,n,r){let o;if(super(),ne(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&un.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&gs(t.next,i),error:t.error&&gs(t.error,i),complete:t.complete&&gs(t.complete,i)}):o=t}this.destination=new ID(o)}}function bo(e){un.useDeprecatedSynchronousErrorHandling?function bD(e){un.useDeprecatedSynchronousErrorHandling&&ln&&(ln.errorThrown=!0,ln.error=e)}(e):rc(e)}function ms(e,t){const{onStoppedNotification:n}=un;n&&Eo.setTimeout(()=>n(e,t))}const AD={closed:!0,next:oc,error:function SD(e){throw e},complete:oc},ys="function"==typeof Symbol&&Symbol.observable||"@@observable";function ic(e){return e}let we=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function ND(e){return e&&e instanceof ps||function TD(e){return e&&ne(e.next)&&ne(e.error)&&ne(e.complete)}(e)&&tc(e)}(n)?n:new Cr(n,r,o);return wo(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=ac(r))((o,i)=>{const s=new Cr({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[ys](){return this}pipe(...n){return function sc(e){return 0===e.length?ic:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=ac(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ac(e){var t;return null!==(t=e??un.Promise)&&void 0!==t?t:Promise}const FD=_o(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ds=(()=>{class e extends we{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new uc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new FD}next(n){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?ec:(this.currentObservers=null,i.push(n),new yt(()=>{this.currentObservers=null,_r(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new we;return n.source=this,n}}return e.create=(t,n)=>new uc(t,n),e})();class uc extends Ds{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:ec}}function An(e){return t=>{if(function xD(e){return ne(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Tn(e,t,n,r,o){return new PD(e,t,n,r,o)}class PD extends ps{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function cn(e,t){return An((n,r)=>{let o=0;n.subscribe(Tn(r,i=>{r.next(e.call(t,i,o++))}))})}function dn(e){return this instanceof dn?(this.v=e,this):new dn(e)}function LD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function dc(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const fc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function hc(e){return ne(e?.then)}function pc(e){return ne(e[ys])}function gc(e){return Symbol.asyncIterator&&ne(e?.[Symbol.asyncIterator])}function mc(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const yc=function BD(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Dc(e){return ne(e?.[yc])}function vc(e){return function kD(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof dn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield dn(n.read());if(o)return yield dn(void 0);yield yield dn(r)}}finally{n.releaseLock()}})}function _c(e){return ne(e?.getReader)}function Ft(e){if(e instanceof we)return e;if(null!=e){if(pc(e))return function HD(e){return new we(t=>{const n=e[ys]();if(ne(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(fc(e))return function jD(e){return new we(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(hc(e))return function $D(e){return new we(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,rc)})}(e);if(gc(e))return Cc(e);if(Dc(e))return function UD(e){return new we(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(_c(e))return function GD(e){return Cc(vc(e))}(e)}throw mc(e)}function Cc(e){return new we(t=>{(function zD(e,t){var n,r,o,i;return function OD(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=LD(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Yt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Mo(e,t,n=1/0){return ne(t)?Mo((r,o)=>cn((i,s)=>t(r,i,o,s))(Ft(e(r,o))),n):("number"==typeof t&&(n=t),An((r,o)=>function WD(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let v=!1;Ft(n(g,c++)).subscribe(Tn(t,y=>{o?.(y),i?h(y):t.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;u.length&&l<r;){const y=u.shift();s?Yt(t,s,()=>p(y)):p(y)}f()}catch(y){t.error(y)}}))};return e.subscribe(Tn(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const Ec=new we(e=>e.complete());function _s(e){return e[e.length-1]}function wc(e){return function YD(e){return e&&ne(e.schedule)}(_s(e))?e.pop():void 0}function bc(e,t=0){return An((n,r)=>{n.subscribe(Tn(r,o=>Yt(r,e,()=>r.next(o),t),()=>Yt(r,e,()=>r.complete(),t),o=>Yt(r,e,()=>r.error(o),t)))})}function Mc(e,t=0){return An((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ic(e,t){if(!e)throw new Error("Iterable cannot be null");return new we(n=>{Yt(n,t,()=>{const r=e[Symbol.asyncIterator]();Yt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Cs(e,t){return t?function rv(e,t){if(null!=e){if(pc(e))return function QD(e,t){return Ft(e).pipe(Mc(t),bc(t))}(e,t);if(fc(e))return function ev(e,t){return new we(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(hc(e))return function JD(e,t){return Ft(e).pipe(Mc(t),bc(t))}(e,t);if(gc(e))return Ic(e,t);if(Dc(e))return function tv(e,t){return new we(n=>{let r;return Yt(n,t,()=>{r=e[yc](),Yt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ne(r?.return)&&r.return()})}(e,t);if(_c(e))return function nv(e,t){return Ic(vc(e),t)}(e,t)}throw mc(e)}(e,t):Ft(e)}function Es(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Cr({next:()=>{r.unsubscribe(),e()}});return Ft(t(...n)).subscribe(r)}function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function ws(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(X).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function bs(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const sv=K({__forward_ref__:K});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return X(this())},e}function A(e){return Ms(e)?e():e}function Ms(e){return"function"==typeof e&&e.hasOwnProperty(sv)&&e.__forward_ref__===Q}function Is(e){return e&&!!e.\u0275providers}const Sc="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(Io(t,n)),this.code=t}}function Io(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function F(e){return"string"==typeof e?e:null==e?"":String(e)}function So(e,t){throw new C(-201,!1)}function Qe(e,t){null==e&&function G(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ao(e){return Ac(e,To)||Ac(e,Nc)}function Ac(e,t){return e.hasOwnProperty(t)?e[t]:null}function Tc(e){return e&&(e.hasOwnProperty(Ss)||e.hasOwnProperty(pv))?e[Ss]:null}const To=K({\u0275prov:K}),Ss=K({\u0275inj:K}),Nc=K({ngInjectableDef:K}),pv=K({ngInjectorDef:K});var N=(()=>((N=N||{})[N.Default=0]="Default",N[N.Host=1]="Host",N[N.Self=2]="Self",N[N.SkipSelf=4]="SkipSelf",N[N.Optional=8]="Optional",N))();let As;function Je(e){const t=As;return As=e,t}function Fc(e,t,n){const r=Ao(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&N.Optional?null:void 0!==t?t:void So(X(e))}const ee=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Er={},Ts="__NG_DI_FLAG__",No="ngTempTokenPath",mv="ngTokenPath",yv=/\n/gm,Dv="\u0275",xc="__source";let wr;function Nn(e){const t=wr;return wr=e,t}function vv(e,t=N.Default){if(void 0===wr)throw new C(-203,!1);return null===wr?Fc(e,void 0,t):wr.get(e,t&N.Optional?null:void 0,t)}function V(e,t=N.Default){return(function gv(){return As}()||vv)(A(e),t)}function Fn(e,t=N.Default){return V(e,Fo(t))}function Fo(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ns(e){const t=[];for(let n=0;n<e.length;n++){const r=A(e[n]);if(Array.isArray(r)){if(0===r.length)throw new C(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){const a=r[s],u=_v(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(V(o,i))}else t.push(V(r))}return t}function br(e,t){return e[Ts]=t,e.prototype[Ts]=t,e}function _v(e){return e[Ts]}function xt(e){return{toString:e}.toString()}var vt=(()=>((vt=vt||{})[vt.OnPush=0]="OnPush",vt[vt.Default=1]="Default",vt))(),_t=(()=>{return(e=_t||(_t={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",_t;var e})();const Pt={},$=[],xo=K({\u0275cmp:K}),Fs=K({\u0275dir:K}),xs=K({\u0275pipe:K}),Oc=K({\u0275mod:K}),Ot=K({\u0275fac:K}),Mr=K({__NG_ELEMENT_ID__:K});let wv=0;function Rc(e){return xt(()=>{const t=Lc(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||_t.Emulated,id:"c"+wv++,styles:e.styles||$,_:null,schemas:e.schemas||null,tView:null};Vc(n);const r=e.dependencies;return n.directiveDefs=Po(r,!1),n.pipeDefs=Po(r,!0),n})}function Mv(e){return z(e)||be(e)}function Iv(e){return null!==e}function Rt(e){return xt(()=>({type:e.type,bootstrap:e.bootstrap||$,declarations:e.declarations||$,imports:e.imports||$,exports:e.exports||$,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function kc(e,t){if(null==e)return Pt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function x(e){return xt(()=>{const t=Lc(e);return Vc(t),t})}function z(e){return e[xo]||null}function be(e){return e[Fs]||null}function je(e){return e[xs]||null}function Lc(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||$,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:kc(e.inputs,t),outputs:kc(e.outputs)}}function Vc(e){e.features?.forEach(t=>t(e))}function Po(e,t){if(!e)return null;const n=t?je:Mv;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Iv)}const kt=0,b=1,R=2,se=3,it=4,fn=5,Me=6,xn=7,ue=8,Oo=9,Ro=10,L=11,Ps=12,Sr=13,Bc=14,Pn=15,Ie=16,Ar=17,On=18,Ct=19,Tr=20,Hc=21,te=22,Os=1,jc=2,ko=7,Lo=8,Rn=9,Pe=10;function qe(e){return Array.isArray(e)&&"object"==typeof e[Os]}function st(e){return Array.isArray(e)&&!0===e[Os]}function Rs(e){return 0!=(4&e.flags)}function Nr(e){return e.componentOffset>-1}function Vo(e){return 1==(1&e.flags)}function at(e){return!!e.template}function Av(e){return 0!=(256&e[R])}function hn(e,t){return e.hasOwnProperty(Ot)?e[Ot]:null}class Fv{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Lt(){return Gc}function Gc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pv),xv}function xv(){const e=Wc(this),t=e?.current;if(t){const n=e.previous;if(n===Pt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pv(e,t,n,r){const o=this.declaredInputs[n],i=Wc(e)||function Ov(e,t){return e[zc]=t}(e,{previous:Pt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Fv(u&&u.currentValue,t,a===Pt),e[r]=t}Lt.ngInherit=!0;const zc="__ngSimpleChanges__";function Wc(e){return e[zc]||null}const et=function(e,t,n){};function Ce(e){for(;Array.isArray(e);)e=e[kt];return e}function Bo(e,t){return Ce(t[e])}function Ke(e,t){return Ce(t[e.index])}function Yc(e,t){return e.data[t]}function Ye(e,t){const n=t[e];return qe(n)?n:n[kt]}function Ho(e){return 64==(64&e[R])}function Xt(e,t){return null==t?null:e[t]}function Zc(e){e[On]=0}function Ls(e,t){e[fn]+=t;let n=e,r=e[se];for(;null!==r&&(1===t&&1===n[fn]||-1===t&&0===n[fn]);)r[fn]+=t,n=r,r=r[se]}const P={lFrame:sd(null),bindingsEnabled:!0};function Qc(){return P.bindingsEnabled}function D(){return P.lFrame.lView}function H(){return P.lFrame.tView}function Vs(e){return P.lFrame.contextLView=e,e[ue]}function Bs(e){return P.lFrame.contextLView=null,e}function Ee(){let e=Jc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Jc(){return P.lFrame.currentTNode}function Et(e,t){const n=P.lFrame;n.currentTNode=e,n.isParent=t}function Hs(){return P.lFrame.isParent}function Ln(){return P.lFrame.bindingIndex++}function qv(e,t){const n=P.lFrame;n.bindingIndex=n.bindingRootIndex=e,$s(t)}function $s(e){P.lFrame.currentDirectiveIndex=e}function Gs(e){P.lFrame.currentQueryIndex=e}function Yv(e){const t=e[b];return 2===t.type?t.declTNode:1===t.type?e[Me]:null}function od(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&N.Host||(o=Yv(i),null===o||(i=i[Pn],10&o.type))););if(null===o)return!1;t=o,e=i}const r=P.lFrame=id();return r.currentTNode=t,r.lView=e,!0}function zs(e){const t=id(),n=e[b];P.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function id(){const e=P.lFrame,t=null===e?null:e.child;return null===t?sd(e):t}function sd(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ad(){const e=P.lFrame;return P.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ud=ad;function Ws(){const e=ad();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Re(){return P.lFrame.selectedIndex}function pn(e){P.lFrame.selectedIndex=e}function oe(){const e=P.lFrame;return Yc(e.tView,e.selectedIndex)}function jo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks??(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks??(e.contentHooks=[])).push(n,a),(e.contentCheckHooks??(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks??(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks??(e.viewHooks=[])).push(n,l),(e.viewCheckHooks??(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks??(e.destroyHooks=[])).push(n,c)}}function $o(e,t,n){ld(e,t,3,n)}function Uo(e,t,n,r){(3&e[R])===n&&ld(e,t,n,r)}function qs(e,t){let n=e[R];(3&n)===t&&(n&=2047,n+=1,e[R]=n)}function ld(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[On]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[On]+=65536),(a<i||-1==i)&&(o_(e,n,t,u),e[On]=(4294901760&e[On])+u+2),u++}function o_(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[R]>>11<e[On]>>16&&(3&e[R])===t){e[R]+=2048,et(4,a,i);try{i.call(a)}finally{et(5,a,i)}}}else{et(4,a,i);try{i.call(a)}finally{et(5,a,i)}}}const Vn=-1;class xr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ys(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];dd(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function cd(e){return 3===e||4===e||6===e}function dd(e){return 64===e.charCodeAt(0)}function Pr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||fd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function fd(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function hd(e){return e!==Vn}function Go(e){return 32767&e}function zo(e,t){let n=function u_(e){return e>>16}(e),r=t;for(;n>0;)r=r[Pn],n--;return r}let Zs=!0;function Wo(e){const t=Zs;return Zs=e,t}const pd=255,gd=5;let l_=0;const wt={};function qo(e,t){const n=md(e,t);if(-1!==n)return n;const r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,Xs(r.data,e),Xs(t,null),Xs(r.blueprint,null));const o=Qs(e,t),i=e.injectorIndex;if(hd(o)){const s=Go(o),a=zo(o,t),u=a[b].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Xs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function md(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Qs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=wd(o),null===r)return Vn;if(n++,o=o[Pn],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Vn}function Js(e,t,n){!function c_(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mr)&&(r=n[Mr]),null==r&&(r=n[Mr]=l_++);const o=r&pd;t.data[e+(o>>gd)]|=1<<o}(e,t,n)}function yd(e,t,n){if(n&N.Optional||void 0!==e)return e;So()}function Dd(e,t,n,r){if(n&N.Optional&&void 0===r&&(r=null),!(n&(N.Self|N.Host))){const o=e[Oo],i=Je(void 0);try{return o?o.get(t,r,n&N.Optional):Fc(t,r,n&N.Optional)}finally{Je(i)}}return yd(r,0,n)}function vd(e,t,n,r=N.Default,o){if(null!==e){if(1024&t[R]){const s=function g_(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&1024&s[R]&&!(256&s[R]);){const a=_d(i,s,n,r|N.Self,wt);if(a!==wt)return a;let u=i.parent;if(!u){const l=s[Hc];if(l){const c=l.get(n,wt,r);if(c!==wt)return c}u=wd(s),s=s[Pn]}i=u}return o}(e,t,n,r,wt);if(s!==wt)return s}const i=_d(e,t,n,r,wt);if(i!==wt)return i}return Dd(t,n,r,o)}function _d(e,t,n,r,o){const i=function h_(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Mr)?e[Mr]:void 0;return"number"==typeof t?t>=0?t&pd:p_:t}(n);if("function"==typeof i){if(!od(t,e,r))return r&N.Host?yd(o,0,r):Dd(t,n,r,o);try{const s=i(r);if(null!=s||r&N.Optional)return s;So()}finally{ud()}}else if("number"==typeof i){let s=null,a=md(e,t),u=Vn,l=r&N.Host?t[Ie][Me]:null;for((-1===a||r&N.SkipSelf)&&(u=-1===a?Qs(e,t):t[a+8],u!==Vn&&Ed(r,!1)?(s=t[b],a=Go(u),t=zo(u,t)):a=-1);-1!==a;){const c=t[b];if(Cd(i,a,c.data)){const d=f_(a,t,n,s,r,l);if(d!==wt)return d}u=t[a+8],u!==Vn&&Ed(r,t[b].data[a+8]===l)&&Cd(i,a,t)?(s=c,a=Go(u),t=zo(u,t)):a=-1}}return o}function f_(e,t,n,r,o,i){const s=t[b],a=s.data[e+8],c=function Ko(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&at(h)&&h.type===n)return u}return null}(a,s,n,null==r?Nr(a)&&Zs:r!=s&&0!=(3&a.type),o&N.Host&&i===a);return null!==c?gn(t,s,c,a):wt}function gn(e,t,n,r){let o=e[n];const i=t.data;if(function i_(e){return e instanceof xr}(o)){const s=o;s.resolving&&function av(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function U(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():F(e)}(i[n]));const a=Wo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Je(s.injectImpl):null;od(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function r_(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Gc(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&Je(u),Wo(a),s.resolving=!1,ud()}}return o}function Cd(e,t,n){return!!(n[t+(e>>gd)]&1<<e)}function Ed(e,t){return!(e&N.Self||e&N.Host&&t)}class Bn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return vd(this._tNode,this._lView,t,Fo(r),n)}}function p_(){return new Bn(Ee(),D())}function ea(e){return Ms(e)?()=>{const t=ea(A(e));return t&&t()}:hn(e)}function wd(e){const t=e[b],n=t.type;return 2===n?t.declTNode:1===n?e[Me]:null}const jn="__parameters__";function Un(e,t,n){return xt(()=>{const r=function na(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(jn)?u[jn]:Object.defineProperty(u,jn,{value:[]})[jn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class M{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function mn(e,t){e.forEach(n=>Array.isArray(n)?mn(n,t):t(n))}function Md(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Yo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ze(e,t,n){let r=Gn(e,t);return r>=0?e[1|r]=n:(r=~r,function v_(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function oa(e,t){const n=Gn(e,t);if(n>=0)return e[1|n]}function Gn(e,t){return function Id(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const Xo=br(Un("Optional"),8),Qo=br(Un("SkipSelf"),4);var $e=(()=>(($e=$e||{})[$e.Important=1]="Important",$e[$e.DashCase=2]="DashCase",$e))();const ca=new Map;let j_=0;const fa="__ngContext__";function Ae(e,t){qe(t)?(e[fa]=t[Tr],function U_(e){ca.set(e[Tr],e)}(t)):e[fa]=t}let ha;function pa(e,t){return ha(e,t)}function Hr(e){const t=e[se];return st(t)?t[se]:t}function ga(e){return Wd(e[Sr])}function ma(e){return Wd(e[it])}function Wd(e){for(;null!==e&&!st(e);)e=e[it];return e}function Wn(e,t,n,r,o){if(null!=r){let i,s=!1;st(r)?i=r:qe(r)&&(s=!0,r=r[kt]);const a=Ce(r);0===e&&null!==n?null==o?Qd(t,n,a):yn(t,n,a,o||null,!0):1===e&&null!==n?yn(t,n,a,o||null,!0):2===e?function wa(e,t,n){const r=ti(e,t);r&&function lC(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function fC(e,t,n,r,o){const i=n[ko];i!==Ce(n)&&Wn(t,e,r,i,o);for(let a=Pe;a<n.length;a++){const u=n[a];jr(u[b],u,e,t,r,i)}}(t,e,i,n,o)}}function Da(e,t,n){return e.createElement(t,n)}function Kd(e,t){const n=e[Rn],r=n.indexOf(t),o=t[se];512&t[R]&&(t[R]&=-513,Ls(o,-1)),n.splice(r,1)}function va(e,t){if(e.length<=Pe)return;const n=Pe+t,r=e[n];if(r){const o=r[Ar];null!==o&&o!==e&&Kd(o,r),t>0&&(e[n-1][it]=r[it]);const i=Yo(e,Pe+t);!function tC(e,t){jr(e,t,t[L],2,null,null),t[kt]=null,t[Me]=null}(r[b],r);const s=i[Ct];null!==s&&s.detachView(i[b]),r[se]=null,r[it]=null,r[R]&=-65}return r}function Yd(e,t){if(!(128&t[R])){const n=t[L];n.destroyNode&&jr(e,t,n,3,null,null),function oC(e){let t=e[Sr];if(!t)return _a(e[b],e);for(;t;){let n=null;if(qe(t))n=t[Sr];else{const r=t[Pe];r&&(n=r)}if(!n){for(;t&&!t[it]&&t!==e;)qe(t)&&_a(t[b],t),t=t[se];null===t&&(t=e),qe(t)&&_a(t[b],t),n=t&&t[it]}t=n}}(t)}}function _a(e,t){if(!(128&t[R])){t[R]&=-65,t[R]|=128,function uC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof xr)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];et(4,a,u);try{u.call(a)}finally{et(5,a,u)}}else{et(4,o,i);try{i.call(o)}finally{et(5,o,i)}}}}}(e,t),function aC(e,t){const n=e.cleanup,r=t[xn];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+3];s>=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)(0,r[i])();t[xn]=null}}(e,t),1===t[b].type&&t[L].destroy();const n=t[Ar];if(null!==n&&st(t[se])){n!==t[se]&&Kd(n,t);const r=t[Ct];null!==r&&r.detachView(e)}!function G_(e){ca.delete(e[Tr])}(t)}}function Zd(e,t,n){return function Xd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[kt];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===_t.None||i===_t.Emulated)return null}return Ke(r,n)}}(e,t.parent,n)}function yn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qd(e,t,n){e.appendChild(t,n)}function Jd(e,t,n,r,o){null!==r?yn(e,t,n,r,o):Qd(e,t,n)}function ti(e,t){return e.parentNode(t)}let Ca,Ia,nf=function tf(e,t,n){return 40&e.type?Ke(e,n):null};function ni(e,t,n,r){const o=Zd(e,r,t),i=t[L],a=function ef(e,t,n){return nf(e,t,n)}(r.parent||t[Me],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Jd(i,o,n[u],a,!1);else Jd(i,o,n,a,!1);void 0!==Ca&&Ca(i,r,t,n,o)}function ri(e,t){if(null!==t){const n=t.type;if(3&n)return Ke(t,e);if(4&n)return Ea(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ri(e,r);{const o=e[t.index];return st(o)?Ea(-1,o):Ce(o)}}if(32&n)return pa(t,e)()||Ce(e[t.index]);{const r=of(e,t);return null!==r?Array.isArray(r)?r[0]:ri(Hr(e[Ie]),r):ri(e,t.next)}}return null}function of(e,t){return null!==t?e[Ie][Me].projection[t.projection]:null}function Ea(e,t){const n=Pe+e+1;if(n<t.length){const r=t[n],o=r[b].firstChild;if(null!==o)return ri(r,o)}return t[ko]}function ba(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Ae(Ce(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)ba(e,t,n.child,r,o,i,!1),Wn(t,e,o,a,i);else if(32&u){const l=pa(n,r);let c;for(;c=l();)Wn(t,e,o,c,i);Wn(t,e,o,a,i)}else 16&u?sf(e,t,r,n,o,i):Wn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function jr(e,t,n,r,o,i){ba(n,r,e.firstChild,t,o,i,!1)}function sf(e,t,n,r,o,i){const s=n[Ie],u=s[Me].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Wn(t,e,o,u[l],i);else ba(e,t,u,s[se],o,i,!0)}function af(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function uf(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&Ys(e,t,r),null!==o&&af(e,t,o),null!==i&&function pC(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}class hf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Sc})`}}function Qt(e){return e instanceof hf?e.changingThisBreaksApplicationSecurity:e}const AC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var pe=(()=>((pe=pe||{})[pe.NONE=0]="NONE",pe[pe.HTML=1]="HTML",pe[pe.STYLE=2]="STYLE",pe[pe.SCRIPT=3]="SCRIPT",pe[pe.URL=4]="URL",pe[pe.RESOURCE_URL=5]="RESOURCE_URL",pe))();function xa(e){const t=function Gr(){const e=D();return e&&e[Ps]}();return t?t.sanitize(pe.URL,e)||"":function $r(e,t){const n=function bC(e){return e instanceof hf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Sc})`)}return n===t}(e,"URL")?Qt(e):function Aa(e){return(e=String(e)).match(AC)?e:"unsafe:"+e}(F(e))}const Cf=new M("ENVIRONMENT_INITIALIZER"),Ef=new M("INJECTOR",-1),wf=new M("INJECTOR_DEF_TYPES");class bf{get(t,n=Er){if(n===Er){const r=new Error(`NullInjectorError: No provider for ${X(t)}!`);throw r.name="NullInjectorError",r}return n}}function UC(...e){return{\u0275providers:Mf(0,e),\u0275fromNgModule:!0}}function Mf(e,...t){const n=[],r=new Set;let o;return mn(t,i=>{const s=i;Pa(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&If(o,n),n}function If(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Oa(o,i=>{t.push(i)})}}function Pa(e,t,n,r){if(!(e=A(e)))return!1;let o=null,i=Tc(e);const s=!i&&z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Tc(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Pa(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{mn(i.imports,c=>{Pa(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&If(l,t)}if(!a){const l=hn(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:$},{provide:wf,useValue:o,multi:!0},{provide:Cf,useValue:()=>V(o),multi:!0})}const u=i.providers;null==u||a||Oa(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function Oa(e,t){for(let n of e)Is(n)&&(n=n.\u0275providers),Array.isArray(n)?Oa(n,t):t(n)}const GC=K({provide:String,useValue:K});function Ra(e){return null!==e&&"object"==typeof e&&GC in e}function Dn(e){return"function"==typeof e}const ka=new M("Set Injector scope."),ai={},WC={};let La;function ui(){return void 0===La&&(La=new bf),La}class vn{}class Tf extends vn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ba(t,s=>this.processProvider(s)),this.records.set(Ef,Kn(void 0,this)),o.has("environment")&&this.records.set(vn,Kn(void 0,this));const i=this.records.get(ka);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(wf.multi,$,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Nn(this),r=Je(void 0);try{return t()}finally{Nn(n),Je(r)}}get(t,n=Er,r=N.Default){this.assertNotDestroyed(),r=Fo(r);const o=Nn(this),i=Je(void 0);try{if(!(r&N.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function XC(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&Ao(t);a=u&&this.injectableDefInScope(u)?Kn(Va(t),ai):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&N.Self?ui():this.parent).get(t,n=r&N.Optional&&n===Er?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[No]=s[No]||[]).unshift(X(t)),o)throw s;return function Cv(e,t,n,r){const o=e[No];throw t[xc]&&o.unshift(t[xc]),e.message=function Ev(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Dv?e.slice(2):e;let o=X(t);if(Array.isArray(t))o=t.map(X).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(yv,"\n  ")}`}("\n"+e.message,o,n,r),e[mv]=o,e[No]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Je(i),Nn(o)}}resolveInjectorInitializers(){const t=Nn(this),n=Je(void 0);try{const r=this.get(Cf.multi,$,N.Self);for(const o of r)o()}finally{Nn(t),Je(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=Dn(t=A(t))?t:A(t&&t.provide);const r=function KC(e){return Ra(e)?Kn(void 0,e.useValue):Kn(Nf(e),ai)}(t);if(Dn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Kn(void 0,ai,!0),o.factory=()=>Ns(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ai&&(n.value=WC,n.value=n.factory()),"object"==typeof n.value&&n.value&&function ZC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Va(e){const t=Ao(e),n=null!==t?t.factory:hn(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function qC(e){const t=e.length;if(t>0)throw function kr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new C(204,!1);const n=function fv(e){const t=e&&(e[To]||e[Nc]);return t?(function hv(e){if(e.hasOwnProperty("name"))return e.name;(""+e).match(/^function\s*([^\s(]+)/)}(e),t):null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function Nf(e,t,n){let r;if(Dn(e)){const o=A(e);return hn(o)||Va(o)}if(Ra(e))r=()=>A(e.useValue);else if(function Af(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ns(e.deps||[]));else if(function Sf(e){return!(!e||!e.useExisting)}(e))r=()=>V(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function YC(e){return!!e.deps}(e))return hn(o)||Va(o);r=()=>new o(...Ns(e.deps))}return r}function Kn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ba(e,t){for(const n of e)Array.isArray(n)?Ba(n,t):n&&Is(n)?Ba(n.\u0275providers,t):t(n)}class QC{}class Ff{}class e0{resolveComponentFactory(t){throw function JC(e){const t=Error(`No component factory found for ${X(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let li=(()=>{class e{}return e.NULL=new e0,e})();function t0(){return Yn(Ee(),D())}function Yn(e,t){return new ut(Ke(e,t))}let ut=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=t0,e})();class Pf{}let _n=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function r0(){const e=D(),n=Ye(Ee().index,e);return(qe(n)?n:e)[L]}(),e})(),o0=(()=>{class e{}return e.\u0275prov=j({token:e,providedIn:"root",factory:()=>null}),e})();class ci{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const s0=new ci("15.2.6"),Ha={},ja="ngOriginalError";function $a(e){return e[ja]}class Zn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&$a(t);for(;n&&$a(n);)n=$a(n);return n||null}}function Ua(e){return e.ownerDocument}function Rf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const kf="ng-template";function m0(e,t,n){let r=0,o=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&o){const s=e[r++];if(n&&"class"===i&&-1!==Rf(s.toLowerCase(),t,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}"number"==typeof i&&(o=!1)}}return!1}function Lf(e){return 4===e.type&&e.value!==kf}function y0(e,t,n){return t===(4!==e.type||n?e.value:kf)}function D0(e,t,n){let r=4;const o=e.attrs||[],i=function C0(e){for(let t=0;t<e.length;t++)if(cd(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!y0(e,u,n)||""===u&&1===t.length){if(lt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!m0(e.attrs,l,n)){if(lt(r))return!1;s=!0}continue}const d=v0(8&r?"class":u,o,Lf(e),n);if(-1===d){if(lt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Rf(h,l,0)||2&r&&l!==f){if(lt(r))return!1;s=!0}}}}else{if(!s&&!lt(r)&&!lt(u))return!1;if(s&&lt(u))continue;s=!1,r=u|1&r}}return lt(r)||s}function lt(e){return 0==(1&e)}function v0(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function E0(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Vf(e,t,n=!1){for(let r=0;r<t.length;r++)if(D0(e,t[r],n))return!0;return!1}function Bf(e,t){return e?":not("+t.trim()+")":t}function b0(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!lt(s)&&(t+=Bf(i,o),o=""),r=s,i=i||!lt(r);n++}return""!==o&&(t+=Bf(i,o)),t}const O={};function ct(e){Hf(H(),D(),Re()+e,!1)}function Hf(e,t,n,r){if(!r)if(3==(3&t[R])){const i=e.preOrderCheckHooks;null!==i&&$o(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Uo(t,i,0,n)}pn(n)}function Gf(e,t=null,n=null,r){const o=zf(e,t,n,r);return o.resolveInjectorInitializers(),o}function zf(e,t=null,n=null,r,o=new Set){const i=[n||$,UC(e)];return r=r||("object"==typeof e?void 0:X(e)),new Tf(i,t||ui(),r||null,o)}let Jt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Gf({name:""},r,n,"");{const o=n.name??"";return Gf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Er,e.NULL=new bf,e.\u0275prov=j({token:e,providedIn:"any",factory:()=>V(Ef)}),e.__NG_ELEMENT_ID__=-1,e})();function _(e,t=N.Default){const n=D();return null===n?V(e,t):vd(Ee(),n,A(e),t)}function Qf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r+1];if(-1!==i){const s=e.data[i];Gs(n[r]),s.contentQueries(2,t[i],i)}}}function fi(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[kt]=o,d[R]=76|r,(null!==c||e&&1024&e[R])&&(d[R]|=1024),Zc(d),d[se]=d[Pn]=e,d[ue]=n,d[Ro]=s||e&&e[Ro],d[L]=a||e&&e[L],d[Ps]=u||e&&e[Ps]||null,d[Oo]=l||e&&e[Oo]||null,d[Me]=i,d[Tr]=function $_(){return j_++}(),d[Hc]=c,d[Ie]=2==t.type?e[Ie]:d,d}function Jn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Ka(e,t,n,r,o){const i=Jc(),s=Hs(),u=e.data[t]=function X0(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u,u.prev=i)),u}(e,t,n,r,o),function Wv(){return P.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Fr(){const e=P.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Et(i,!0),i}function zr(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ya(e,t,n){zs(t);try{const r=e.viewQuery;null!==r&&iu(1,r,n);const o=e.template;null!==o&&Jf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Qf(e,t),e.staticViewQueries&&iu(2,e.viewQuery,n);const i=e.components;null!==i&&function K0(e,t){for(let n=0;n<t.length;n++)mE(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[R]&=-5,Ws()}}function hi(e,t,n,r){const o=t[R];if(128!=(128&o)){zs(t);try{Zc(t),function td(e){return P.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Jf(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&$o(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Uo(t,l,0,null),qs(t,0)}if(function pE(e){for(let t=ga(e);null!==t;t=ma(t)){if(!t[jc])continue;const n=t[Rn];for(let r=0;r<n.length;r++){const o=n[r];512&o[R]||Ls(o[se],1),o[R]|=512}}}(t),function hE(e){for(let t=ga(e);null!==t;t=ma(t))for(let n=Pe;n<t.length;n++){const r=t[n],o=r[b];Ho(r)&&hi(o,r,o.template,r[ue])}}(t),null!==e.contentQueries&&Qf(e,t),s){const l=e.contentCheckHooks;null!==l&&$o(t,l)}else{const l=e.contentHooks;null!==l&&Uo(t,l,1),qs(t,1)}!function W0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)pn(~o);else{const i=o,s=n[++r],a=n[++r];qv(s,i),a(2,t[i])}}}finally{pn(-1)}}(e,t);const a=e.components;null!==a&&function q0(e,t){for(let n=0;n<t.length;n++)gE(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&iu(2,u,r),s){const l=e.viewCheckHooks;null!==l&&$o(t,l)}else{const l=e.viewHooks;null!==l&&Uo(t,l,2),qs(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[R]&=-41,512&t[R]&&(t[R]&=-513,Ls(t[se],-1))}finally{Ws()}}}function Jf(e,t,n,r,o){const i=Re(),s=2&r;try{pn(-1),s&&t.length>te&&Hf(e,t,te,!1),et(s?2:0,o),n(r,o)}finally{pn(i),et(s?3:1,o)}}function Za(e,t,n){if(Rs(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}function Xa(e,t,n){Qc()&&(function rE(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;Nr(n)&&function cE(e,t,n){const r=Ke(t,e),o=eh(n),i=e[Ro],s=pi(e,fi(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||qo(n,t),Ae(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=gn(t,e,a,n);Ae(l,t),null!==s&&dE(0,a-o,l,u,0,s),at(u)&&(Ye(n.index,t)[ue]=gn(t,e,a,n))}}(e,t,n,Ke(n,t)),64==(64&n.flags)&&sh(e,t,n))}function Qa(e,t,n=Ke){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function eh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ja(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ja(e,t,n,r,o,i,s,a,u,l){const c=te+r,d=c+o,f=function Y0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:O);return n}(c,d),h="function"==typeof l?l():l;return f[b]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function nh(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?rh(n,t,o,i):r.hasOwnProperty(o)&&rh(n,t,r[o],i)}return n}function rh(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Xe(e,t,n,r,o,i,s,a){const u=Ke(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(su(e,n,c,r,o),Nr(t)&&oh(n,t.index)):3&t.type&&(r=function J0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}function oh(e,t){const n=Ye(t,e);16&n[R]||(n[R]|=32)}function eu(e,t,n,r){if(Qc()){const o=null===r?null:{"":-1},i=function iE(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];if(Vf(t,s.selectors,!1))if(r||(r=[]),at(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s),tu(e,t,a.length)}else r.unshift(s),tu(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return null===r?null:[r,o]}(e,n);let s,a;null===i?s=a=null:[s,a]=i,null!==s&&ih(e,t,n,s,o,a),o&&function sE(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new C(-301,!1);r.push(t[o],i)}}}(n,r,o)}n.mergedAttrs=Pr(n.mergedAttrs,n.attrs)}function ih(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Js(qo(n,t),e,r[l].type);!function uE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let s=!1,a=!1,u=zr(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=Pr(n.mergedAttrs,c.hostAttrs),lE(e,n,t,u,c),aE(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??(e.preOrderHooks=[])).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??(e.preOrderCheckHooks=[])).push(n.index),a=!0),u++}!function Q0(e,t,n){const o=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=i[c],f=n?n.get(d):null,p=f?f.outputs:null;u=nh(d.inputs,c,u,f?f.inputs:null),l=nh(d.outputs,c,l,p);const g=null===u||null===s||Lf(t)?null:fE(u,c,s);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,i)}function sh(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function Kv(){return P.lFrame.currentDirectiveIndex}();try{pn(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];$s(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&oE(u,l)}}finally{pn(-1),$s(s)}}function oE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function tu(e,t,n){t.componentOffset=n,(e.components??(e.components=[])).push(t.index)}function aE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;at(t)&&(n[""]=e)}}function lE(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=hn(o.type)),s=new xr(i,at(o),_);e.blueprint[r]=s,n[r]=s,function tE(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function nE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,zr(e,n,o.hostVars,O),o)}function dE(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function fE(e,t,n){let r=null,o=0;for(;o<n.length;){const i=n[o];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r.push(i,s[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function ah(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null]}function gE(e,t){const n=Ye(t,e);if(Ho(n)){const r=n[b];48&n[R]?hi(r,n,r.template,n[ue]):n[fn]>0&&ru(n)}}function ru(e){for(let r=ga(e);null!==r;r=ma(r))for(let o=Pe;o<r.length;o++){const i=r[o];if(Ho(i))if(512&i[R]){const s=i[b];hi(s,i,s.template,i[ue])}else i[fn]>0&&ru(i)}const n=e[b].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Ye(n[r],e);Ho(o)&&o[fn]>0&&ru(o)}}function mE(e,t){const n=Ye(t,e),r=n[b];(function yE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),Ya(r,n,n[ue])}function pi(e,t){return e[Sr]?e[Bc][it]=t:e[Sr]=t,e[Bc]=t,t}function ou(e){for(;e;){e[R]|=32;const t=Hr(e);if(Av(e)&&!t)return e;e=t}return null}function gi(e,t,n,r=!0){const o=t[Ro];o.begin&&o.begin();try{hi(e,t,e.template,n)}catch(s){throw r&&dh(t,s),s}finally{o.end&&o.end()}}function iu(e,t,n){Gs(0),t(e,n)}function uh(e){return e[xn]||(e[xn]=[])}function lh(e){return e.cleanup||(e.cleanup=[])}function dh(e,t){const n=e[Oo],r=n?n.get(Zn,null):null;r&&r.handleError(t)}function su(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function mi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=bs(o,a):2==i&&(r=bs(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function yi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Ce(i)),st(i))for(let a=Pe;a<i.length;a++){const u=i[a],l=u[b].firstChild;null!==l&&yi(u[b],u,l,r)}const s=n.type;if(8&s)yi(e,t,n.child,r);else if(32&s){const a=pa(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=of(t,n);if(Array.isArray(a))r.push(...a);else{const u=Hr(t[Ie]);yi(u[b],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class Wr{get rootNodes(){const t=this._lView,n=t[b];return yi(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ue]}set context(t){this._lView[ue]=t}get destroyed(){return 128==(128&this._lView[R])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[se];if(st(t)){const n=t[Lo],r=n?n.indexOf(this):-1;r>-1&&(va(t,r),Yo(n,r))}this._attachedToViewContainer=!1}Yd(this._lView[b],this._lView)}onDestroy(t){!function th(e,t,n,r){const o=uh(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&lh(e).push(r,o.length-1))}(this._lView[b],this._lView,null,t)}markForCheck(){ou(this._cdRefInjectingView||this._lView)}detach(){this._lView[R]&=-65}reattach(){this._lView[R]|=64}detectChanges(){gi(this._lView[b],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function rC(e,t){jr(e,t,t[L],2,null,null)}(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class DE extends Wr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;gi(t[b],t,t[ue],!1)}checkNoChanges(){}get context(){return null}}class fh extends li{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=z(t);return new qr(n,this.ngModule)}}function hh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class _E{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Fo(r);const o=this.injector.get(t,Ha,r);return o!==Ha||n===Ha?o:this.parentInjector.get(t,n,r)}}class qr extends Ff{get inputs(){return hh(this.componentDef.inputs)}get outputs(){return hh(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function M0(e){return e.map(b0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof vn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new _E(t,i):t,a=s.get(Pf,null);if(null===a)throw new C(407,!1);const u=s.get(o0,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function Z0(e,t,n){return e.selectRootElement(t,n===_t.ShadowDom)}(l,r,this.componentDef.encapsulation):Da(l,c,function vE(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=Ja(0,null,null,1,0,null,null,null,null,null),p=fi(null,h,null,f,null,null,a,l,u,s,null);let g,v;zs(p);try{const y=this.componentDef;let w,m=null;y.findHostDirectiveDefs?(w=[],m=new Map,y.findHostDirectiveDefs(y,w,m),w.push(y)):w=[y];const S=function EE(e,t){const n=e[b],r=te;return e[r]=t,Jn(n,r,2,"#host",null)}(p,d),Z=function wE(e,t,n,r,o,i,s,a){const u=o[b];!function bE(e,t,n,r){for(const o of e)t.mergedAttrs=Pr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(mi(t,t.mergedAttrs,!0),null!==n&&uf(r,n,t))}(r,e,t,s);const l=i.createRenderer(t,n),c=fi(o,eh(n),null,n.onPush?32:16,o[e.index],e,i,l,a||null,null,null);return u.firstCreatePass&&tu(u,e,r.length-1),pi(o,c),o[e.index]=c}(S,d,y,w,p,a,l);v=Yc(h,te),d&&function IE(e,t,n,r){if(r)Ys(e,n,["ng-version",s0.full]);else{const{attrs:o,classes:i}=function I0(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!lt(o))break;o=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Ys(e,n,o),i&&i.length>0&&af(e,n,i.join(" "))}}(l,y,d,r),void 0!==n&&function SE(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i?Array.from(i):null)}}(v,this.ngContentSelectors,n),g=function ME(e,t,n,r,o,i){const s=Ee(),a=o[b],u=Ke(s,o);ih(a,o,s,n,null,r);for(let c=0;c<n.length;c++)Ae(gn(o,a,s.directiveStart+c,s),o);sh(a,o,s),u&&Ae(u,o);const l=gn(o,a,s.directiveStart+s.componentOffset,s);if(e[ue]=o[ue]=l,null!==i)for(const c of i)c(l,t);return Za(a,s,e),l}(Z,y,w,m,p,[AE]),Ya(h,p,null)}finally{Ws()}return new CE(this.componentType,g,Yn(v,p),p,v)}}class CE extends QC{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new DE(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const i=this._rootLView;su(i[b],i,o,t,n),oh(i,this._tNode.index)}}get injector(){return new Bn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function AE(){const e=Ee();jo(D()[b],e)}function q(e){let t=function ph(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(at(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=au(e.inputs),s.declaredInputs=au(e.declaredInputs),s.outputs=au(e.outputs);const a=o.hostBindings;a&&xE(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&NE(e,u),l&&FE(e,l),ws(e.inputs,o.inputs),ws(e.declaredInputs,o.declaredInputs),ws(e.outputs,o.outputs),at(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===q&&(n=!1)}}t=Object.getPrototypeOf(t)}!function TE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Pr(o.hostAttrs,n=Pr(n,o.hostAttrs))}}(r)}function au(e){return e===Pt?{}:e===$?[]:e}function NE(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function FE(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function xE(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Di(e){return!!uu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function uu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Te(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function tr(e,t,n,r){return Te(e,Ln(),n)?t+F(n)+r:O}function lu(e){return function kn(e,t){return e[t]}(function zv(){return P.lFrame.contextLView}(),te+e)}function En(e,t,n){const r=D();return Te(r,Ln(),t)&&Xe(H(),oe(),r,e,t,r[L],n,!1),En}function cu(e,t,n,r,o){const s=o?"class":"style";su(e,n,t.inputs[s],s,r)}function W(e,t,n,r){const o=D(),i=H(),s=te+e,a=o[L],u=i.firstCreatePass?function GE(e,t,n,r,o,i){const s=t.consts,u=Jn(t,e,2,r,Xt(s,o));return eu(t,n,u,Xt(s,i)),null!==u.attrs&&mi(u,u.attrs,!1),null!==u.mergedAttrs&&mi(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,o,t,n,r):i.data[s],l=o[s]=Da(a,t,function n_(){return P.lFrame.currentNamespace}()),c=Vo(u);return Et(u,!0),uf(a,l,u),32!=(32&u.flags)&&ni(i,o,l,u),0===function Hv(){return P.lFrame.elementDepthCount}()&&Ae(l,o),function jv(){P.lFrame.elementDepthCount++}(),c&&(Xa(i,o,u),Za(i,u,o)),null!==r&&Qa(o,u),W}function Y(){let e=Ee();Hs()?function js(){P.lFrame.isParent=!1}():(e=e.parent,Et(e,!1));const t=e;!function $v(){P.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(jo(n,e),Rs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function s_(e){return 0!=(8&e.flags)}(t)&&cu(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function a_(e){return 0!=(16&e.flags)}(t)&&cu(n,t,D(),t.stylesWithoutHost,!1),Y}function dt(e,t,n,r){return W(e,t,n,r),Y(),dt}function hu(){return D()}function _i(e){return!!e&&"function"==typeof e.then}const Nh=function Th(e){return!!e&&"function"==typeof e.subscribe};function ke(e,t,n,r){const o=D(),i=H(),s=Ee();return function xh(e,t,n,r,o,i,s){const a=Vo(r),l=e.firstCreatePass&&lh(e),c=t[ue],d=uh(t);let f=!0;if(3&r.type||s){const g=Ke(r,t),v=s?s(g):g,y=d.length,w=s?S=>s(Ce(S[r.index])):r.index;let m=null;if(!s&&a&&(m=function WE(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[xn],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,f=!1;else{i=Oh(r,t,c,i,!1);const S=n.listen(v,o,i);d.push(i,S),l&&l.push(o,w,y,y+1)}}else i=Oh(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let v=0;v<g;v+=2){const Z=t[p[v]][p[v+1]].subscribe(i),he=d.length;d.push(i,Z),l&&l.push(o,r.index,he,-(he+1))}}}(i,o,o[L],s,e,t,r),ke}function Ph(e,t,n,r){try{return et(6,t,n),!1!==n(r)}catch(o){return dh(e,o),!1}finally{et(7,t,n)}}function Oh(e,t,n,r,o){return function i(s){if(s===Function)return r;ou(e.componentOffset>-1?Ye(e.index,t):t);let u=Ph(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)u=Ph(t,n,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Rh(e=1){return function Zv(e){return(P.lFrame.contextLView=function Xv(e,t){for(;e>0;)t=t[Pn],e--;return t}(e,P.lFrame.contextLView))[ue]}(e)}function pu(e,t,n){return gu(e,"",t,"",n),pu}function gu(e,t,n,r,o){const i=D(),s=tr(i,t,n,r);return s!==O&&Xe(H(),oe(),i,e,s,i[L],o,!1),gu}function Ci(e,t){return e<<17|t<<2}function en(e){return e>>17&32767}function mu(e){return 2|e}function wn(e){return(131068&e)>>2}function yu(e,t){return-131069&e|t<<2}function Du(e){return 1|e}function Gh(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?en(i):wn(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];tw(e[a],t)&&(u=!0,e[a+1]=r?Du(c):mu(c)),a=r?en(c):wn(c)}u&&(e[n+1]=r?mu(i):Du(i))}function tw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Gn(e,t)>=0}function Ei(e,t){return function ft(e,t,n,r){const o=D(),i=H(),s=function Bt(e){const t=P.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function Jh(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Re()],s=function Qh(e,t){return t>=e.expandoStartIndex}(e,n);(function rp(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function cw(e,t,n,r){const o=function Us(e){const t=P.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Yr(n=vu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=vu(o,e,t,n,r),null===i){let u=function dw(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==wn(r))return e[en(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=vu(null,e,t,u[1],r),u=Yr(u,t.attrs,r),function fw(e,t,n,r){e[en(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function hw(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=Yr(r,e[i].hostAttrs,n);return Yr(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function JE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=en(s),u=wn(s);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||Gn(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=en(e[a+1]);e[r+1]=Ci(f,a),0!==f&&(e[f+1]=yu(e[f+1],r)),e[a+1]=function XE(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ci(a,0),0!==a&&(e[a+1]=yu(e[a+1],r)),a=r;else e[r+1]=Ci(u,0),0===a?a=r:e[u+1]=yu(e[u+1],r),u=r;l&&(e[r+1]=mu(e[r+1])),Gh(e,c,r,!0),Gh(e,c,r,!1),function ew(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Gn(i,t)>=0&&(n[r+1]=Du(n[r+1]))}(t,c,e,r,i),s=Ci(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==O&&Te(o,s,t)&&function tp(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function QE(e){return 1==(1&e)}(l)?np(u,t,n,o,wn(l),s):void 0;wi(c)||(wi(i)||function ZE(e){return 2==(2&e)}(l)&&(i=np(u,null,n,o,a,s)),function hC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:$e.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=$e.Important),e.setStyle(n,r,o,i))}}(r,s,Bo(Re(),n),o,i))}(i,i.data[Re()],o,o[L],e,o[s+1]=function mw(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=X(Qt(e)))),e}(t,n),r,s)}(e,t,null,!0),Ei}function vu(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=Yr(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Yr(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ze(e,s,!!n||t[++i]))}return void 0===e?null:e}function np(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===O&&(f=d?$:void 0);let h=d?oa(f,r):c===r?f:void 0;if(l&&!wi(h)&&(h=oa(u,r)),wi(h)&&(a=h,s))return a;const p=e[o+1];o=s?en(p):wn(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=oa(u,r))}return a}function wi(e){return void 0!==e}function le(e,t=""){const n=D(),r=H(),o=e+te,i=r.firstCreatePass?Jn(r,o,1,t,null):r.data[o],s=n[o]=function ya(e,t){return e.createText(t)}(n[L],t);ni(r,n,s,i),Et(i,!1)}function cr(e){return _u("",e,""),cr}function _u(e,t,n){const r=D(),o=tr(r,e,t,n);return o!==O&&function $t(e,t,n){const r=Bo(t,e);!function qd(e,t,n){e.setValue(t,n)}(e[L],r,n)}(r,Re(),o),_u}const fr="en-US";let Mp=fr;function wu(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let i=0;i<e.length;i++)wu(e[i],t,n,r,o);else{const i=H(),s=D();let a=Dn(e)?e:A(e.provide),u=Nf(e);const l=Ee(),c=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(Dn(e)||!e.multi){const h=new xr(u,o,_),p=Mu(a,t,o?c:c+f,d);-1===p?(Js(qo(l,s),i,a),bu(i,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Mu(a,t,c+f,d),p=Mu(a,t,c,c+f),v=p>=0&&n[p];if(o&&!v||!o&&!(h>=0&&n[h])){Js(qo(l,s),i,a);const y=function Ob(e,t,n,r,o){const i=new xr(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,Zp(i,o,r&&!n),i}(o?Pb:xb,n.length,o,r,u);!o&&v&&(n[p].providerFactory=y),bu(i,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(y),s.push(y)}else bu(i,e,h>-1?h:p,Zp(n[o?p:h],u,!o&&r));!o&&r&&v&&n[p].componentProviders++}}}function bu(e,t,n,r){const o=Dn(t),i=function zC(e){return!!e.useClass}(t);if(o||i){const u=(i?A(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function Zp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function xb(e,t,n,r){return Iu(this.multi,[])}function Pb(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=gn(n,n[b],this.providerFactory.index,r);i=a.slice(0,s),Iu(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Iu(o,i);return i}function Iu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function re(e,t=[]){return n=>{n.providersResolver=(r,o)=>function Fb(e,t,n){const r=H();if(r.firstCreatePass){const o=at(e);wu(n,r.data,r.blueprint,o,!0),wu(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class hr{}class Rb{}class Xp extends hr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fh(this);const r=function We(e,t){const n=e[Oc]||null;if(!n&&!0===t)throw new Error(`Type ${X(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function jt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=zf(t,n,[{provide:hr,useValue:this},{provide:li,useValue:this.componentFactoryResolver}],X(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Su extends Rb{constructor(t){super(),this.moduleType=t}create(t){return new Xp(this.moduleType,t)}}function Tu(e){return t=>{setTimeout(e,void 0,t)}}const Ne=class dM extends Ds{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Tu(i),o&&(o=Tu(o)),s&&(s=Tu(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof yt&&t.add(a),a}};let Gt=(()=>{class e{}return e.__NG_ELEMENT_ID__=gM,e})();const hM=Gt,pM=class extends hM{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tView,o=fi(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[Ar]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[Ct];return null!==s&&(o[Ct]=s.createEmbeddedView(r)),Ya(r,o,t),new Wr(o)}};function gM(){return function Ai(e,t){return 4&e.type?new pM(t,e,Yn(e,t)):null}(Ee(),D())}let At=(()=>{class e{}return e.__NG_ELEMENT_ID__=mM,e})();function mM(){return function fg(e,t){let n;const r=t[e.index];if(st(r))n=r;else{let o;if(8&e.type)o=Ce(r);else{const i=t[L];o=i.createComment("");const s=Ke(e,t);yn(i,ti(i,s),o,function cC(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=ah(r,t,o,e),pi(t,n)}return new cg(n,e,t)}(Ee(),D())}const yM=At,cg=class extends yM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yn(this._hostTNode,this._hostLView)}get injector(){return new Bn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Qs(this._hostTNode,this._hostLView);if(hd(t)){const n=zo(t,this._hostLView),r=Go(t);return new Bn(n[b].data[r+8],n)}return new Bn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=dg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Pe}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function Rr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new qr(z(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?l:this.parentInjector).get(vn,null);f&&(i=f)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[b];if(function Bv(e){return st(e[se])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[se],f=new cg(d,d[Me],d[se]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function iC(e,t,n,r){const o=Pe+r,i=n.length;r>0&&(n[o-1][it]=t),r<i-Pe?(t[it]=n[o],Md(n,Pe+r,t)):(n.push(t),t[it]=null),t[se]=n;const s=t[Ar];null!==s&&n!==s&&function sC(e,t){const n=e[Rn];t[Ie]!==t[se][se][Ie]&&(e[jc]=!0),null===n?e[Rn]=[t]:n.push(t)}(s,t);const a=t[Ct];null!==a&&a.insertView(e),t[R]|=64}(o,r,s,i);const a=Ea(i,s),u=r[L],l=ti(u,s[ko]);return null!==l&&function nC(e,t,n,r,o,i){r[kt]=o,r[Me]=t,jr(e,r,n,1,o,i)}(o,s[Me],u,r,l,a),t.attachToViewContainerRef(),Md(Fu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=dg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=va(this._lContainer,n);r&&(Yo(Fu(this._lContainer),n),Yd(r[b],r))}detach(t){const n=this._adjustIndex(t,-1),r=va(this._lContainer,n);return r&&null!=Yo(Fu(this._lContainer),n)?new Wr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function dg(e){return e[Lo]}function Fu(e){return e[Lo]||(e[Lo]=[])}function Ni(...e){}const kg=new M("Application Initializer");let Fi=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ni,this.reject=Ni,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(_i(i))n.push(i);else if(Nh(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(V(kg,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const oo=new M("AppId",{providedIn:"root",factory:function Lg(){return`${ju()}${ju()}${ju()}`}});function ju(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Vg=new M("Platform Initializer"),$u=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zt=new M("LocaleId",{providedIn:"root",factory:()=>Fn(zt,N.Optional|N.SkipSelf)||function KM(){return typeof $localize<"u"&&$localize.locale||fr}()}),JM=(()=>Promise.resolve(0))();function Uu(e){typeof Zone>"u"?JM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Fe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ne(!1),this.onMicrotaskEmpty=new Ne(!1),this.onStable=new Ne(!1),this.onError=new Ne(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function eI(){let e=ee.requestAnimationFrame,t=ee.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function rI(e){const t=()=>{!function nI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ee,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,zu(e),e.isCheckStableRunning=!0,Gu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),zu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return jg(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),$g(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return jg(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),$g(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,zu(e),Gu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fe.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(Fe.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,tI,Ni,Ni);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const tI={};function Gu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function zu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $g(e){e._nesting--,Gu(e)}class oI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ne,this.onMicrotaskEmpty=new Ne,this.onStable=new Ne,this.onError=new Ne}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Ug=new M(""),xi=new M("");let Ku,Wu=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ku||(function iI(e){Ku=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Fe.assertNotInAngularZone(),Uu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Uu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(V(Fe),V(qu),V(xi))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})(),qu=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Ku?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Wt=!1;let tn=null;const Gg=new M("AllowMultipleToken"),Yu=new M("PlatformDestroyListeners"),sI=new M("appBootstrapListener");function Wg(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Zu();if(!s||s.injector.get(Gg,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function lI(e){if(tn&&!tn.get(Gg,!1))throw new C(400,!1);tn=e;const t=e.get(Kg);(function zg(e){const t=e.get(Vg,null);t&&t.forEach(n=>n())})(e)}(function qg(e=[],t){return Jt.create({name:t,providers:[{provide:ka,useValue:"platform"},{provide:Yu,useValue:new Set([()=>tn=null])},...e]})}(a,r))}return function dI(e){const t=Zu();if(!t)throw new C(401,!1);return t}()}}function Zu(){return tn?.get(Kg)??null}let Kg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Zg(e,t){let n;return n="noop"===e?new oI:("zone.js"===e?void 0:e)||new Fe(t),n}(r?.ngZone,function Yg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Fe,useValue:o}];return o.run(()=>{const s=Jt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(Zn,null);if(!u)throw new C(402,!1);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{Pi(this._modules,a),l.unsubscribe()})}),function Xg(e,t,n){try{const r=n();return _i(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const l=a.injector.get(Fi);return l.runInitializers(),l.donePromise.then(()=>(function Ip(e){Qe(e,"Expected localeId to be defined"),"string"==typeof e&&(Mp=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(zt,fr)||fr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Qg({},r);return function aI(e,t,n){const r=new Su(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Xu);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Yu,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(V(Jt))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Qg(e,t){return Array.isArray(t)?t.reduce(Qg,e):{...e,...t}}let Xu=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new we(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new we(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{Fe.assertNotInAngularZone(),Uu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{Fe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=function ov(...e){const t=wc(e),n=function XD(e,t){return"number"==typeof _s(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Ft(r[0]):function qD(e=1/0){return Mo(ic,e)}(n)(Cs(r,t)):Ec}(i,s.pipe(function iv(e={}){const{connector:t=(()=>new Ds),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return An((g,v)=>{l++,!d&&!c&&f();const y=u=u??t();v.add(()=>{l--,0===l&&!d&&!c&&(a=Es(p,o))}),y.subscribe(v),!s&&l>0&&(s=new Cr({next:w=>y.next(w),error:w=>{d=!0,f(),a=Es(h,n,w),y.error(w)},complete:()=>{c=!0,f(),a=Es(h,r),y.complete()}}),Ft(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof Ff;if(!this._injector.get(Fi).done){!o&&function Ir(e){const t=z(e)||be(e)||je(e);return null!==t&&t.standalone}(n);throw new C(405,Wt)}let s;s=o?n:this._injector.get(li).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function uI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(hr),l=s.create(Jt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(Ug,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Pi(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Pi(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(sI,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Pi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(V(Fe),V(vn),V(Zn))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Pi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class om{constructor(){}supports(t){return Di(t)}create(t){return new _I(t)}}const vI=(e,t)=>t;class _I{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||vI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<sm(r,o,i)?n:r,a=sm(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Di(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function BE(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new CI(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new im),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new im),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class CI{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class EI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class im{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new EI,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function sm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class am{constructor(){}supports(t){return t instanceof Map||uu(t)}create(){return new wI}}class wI{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||uu(t)))throw new C(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new bI(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class bI{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function um(){return new ki([new om])}let ki=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||um()),deps:[[e,new Qo,new Xo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e.\u0275prov=j({token:e,providedIn:"root",factory:um}),e})();function lm(){return new io([new am])}let io=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lm()),deps:[[e,new Qo,new Xo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e.\u0275prov=j({token:e,providedIn:"root",factory:lm}),e})();const SI=Wg(null,"core",[]);let AI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(V(Xu))},e.\u0275mod=Rt({type:e}),e.\u0275inj=Dt({}),e})(),rl=null;function mr(){return rl}class FI{}const Tt=new M("DocumentToken");function vm(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class DS{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let wm=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new DS(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),bm(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{bm(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_(At),_(Gt),_(ki))},e.\u0275dir=x({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function bm(e,t){e.context.$implicit=t.item}let Sm=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:$e.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}}return e.\u0275fac=function(n){return new(n||e)(_(ut),_(io),_(_n))},e.\u0275dir=x({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),qS=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=Dt({}),e})();class Fm{}class bA extends FI{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class _l extends bA{static makeCurrent(){!function NI(e){rl||(rl=e)}(new _l)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function MA(){return lo=lo||document.querySelector("base"),lo?lo.getAttribute("href"):null}();return null==n?null:function IA(e){Ki=Ki||document.createElement("a"),Ki.setAttribute("href",e);const t=Ki.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){lo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return vm(document.cookie,t)}}let Ki,lo=null;const km=new M("TRANSITION_ID"),AA=[{provide:kg,useFactory:function SA(e,t,n){return()=>{n.get(Fi).donePromise.then(()=>{const r=mr(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[km,Tt,Jt],multi:!0}];let NA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();const Yi=new M("EventManagerPlugins");let Zi=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(V(Yi),V(Fe))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();class Lm{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=mr().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Vm=(()=>{class e{constructor(){this.usageCount=new Map}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)0===this.changeUsageCount(r,-1)&&this.onStyleRemoved(r)}onStyleRemoved(n){}onStyleAdded(n){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(n,r){const o=this.usageCount;let i=o.get(n)??0;return i+=r,i>0?o.set(n,i):o.delete(n),i}ngOnDestroy(){for(const n of this.getAllStyles())this.onStyleRemoved(n);this.usageCount.clear()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})(),co=(()=>{class e extends Vm{constructor(n){super(),this.doc=n,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.forEach(i=>i.remove()),r.delete(n)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}addStyleToHost(n,r){const o=this.doc.createElement("style");o.textContent=r,n.appendChild(o);const i=this.styleRef.get(r);i?i.push(o):this.styleRef.set(r,[o])}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(V(Tt))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();const Cl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},El=/%COMP%/g,jm=new M("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function $m(e,t){return t.flat(100).map(n=>n.replace(El,e))}function Um(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let wl=(()=>{class e{constructor(n,r,o,i){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestory=i,this.rendererByCompId=new Map,this.defaultRenderer=new bl(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof Wm?o.applyToHost(n):o instanceof Ml&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.eventManager,a=this.sharedStylesHost,u=this.removeStylesOnCompDestory;switch(r.encapsulation){case _t.Emulated:i=new Wm(s,a,r,this.appId,u);break;case _t.ShadowDom:return new LA(s,a,n,r);default:i=new Ml(s,a,r,u)}i.onDestroy=()=>o.delete(r.id),o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(V(Zi),V(co),V(oo),V(jm))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();class bl{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Cl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(zm(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(zm(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Cl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Cl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&($e.DashCase|$e.Important)?t.style.setProperty(n,r,o&$e.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&$e.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Um(r)):this.eventManager.addEventListener(t,n,Um(r))}}function zm(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class LA extends bl{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=$m(o.id,o.styles);for(const s of i){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ml extends bl{constructor(t,n,r,o,i=r.id){super(t),this.sharedStylesHost=n,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=$m(i,r.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class Wm extends Ml{constructor(t,n,r,o,i){const s=o+"-"+r.id;super(t,n,r,i,s),this.contentAttr=function OA(e){return"_ngcontent-%COMP%".replace(El,e)}(s),this.hostAttr=function RA(e){return"_nghost-%COMP%".replace(El,e)}(s)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let VA=(()=>{class e extends Lm{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(V(Tt))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();const qm=["alt","control","meta","shift"],BA={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},HA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let jA=(()=>{class e extends Lm{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),qm.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=BA[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),qm.forEach(s=>{s!==o&&(0,HA[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(V(Tt))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();const zA=Wg(SI,"browser",[{provide:$u,useValue:"browser"},{provide:Vg,useValue:function $A(){_l.makeCurrent()},multi:!0},{provide:Tt,useFactory:function GA(){return function DC(e){Ia=e}(document),document},deps:[]}]),Zm=new M(""),Xm=[{provide:xi,useClass:class TA{addToWindow(t){ee.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},ee.getAllAngularTestabilities=()=>t.getAllTestabilities(),ee.getAllAngularRootElements=()=>t.getAllRootElements(),ee.frameworkStabilizers||(ee.frameworkStabilizers=[]),ee.frameworkStabilizers.push(r=>{const o=ee.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?mr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Ug,useClass:Wu,deps:[Fe,qu,xi]},{provide:Wu,useClass:Wu,deps:[Fe,qu,xi]}],Qm=[{provide:ka,useValue:"root"},{provide:Zn,useFactory:function UA(){return new Zn},deps:[]},{provide:Yi,useClass:VA,multi:!0,deps:[Tt,Fe,$u]},{provide:Yi,useClass:jA,multi:!0,deps:[Tt]},{provide:wl,useClass:wl,deps:[Zi,co,oo,jm]},{provide:Pf,useExisting:wl},{provide:Vm,useExisting:co},{provide:co,useClass:co,deps:[Tt]},{provide:Zi,useClass:Zi,deps:[Yi,Fe]},{provide:Fm,useClass:NA,deps:[]},[]];let WA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:oo,useValue:n.appId},{provide:km,useExisting:oo},AA]}}}return e.\u0275fac=function(n){return new(n||e)(V(Zm,12))},e.\u0275mod=Rt({type:e}),e.\u0275inj=Dt({providers:[...Qm,...Xm],imports:[qS,AI]}),e})();typeof window<"u"&&window;const{isArray:eT}=Array,{getPrototypeOf:tT,prototype:nT,keys:rT}=Object;const{isArray:sT}=Array;function lT(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function cT(...e){const t=function ZD(e){return ne(_s(e))?e.pop():void 0}(e),{args:n,keys:r}=function oT(e){if(1===e.length){const t=e[0];if(eT(t))return{args:t,keys:null};if(function iT(e){return e&&"object"==typeof e&&tT(e)===nT}(t)){const n=rT(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new we(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;Ft(n[c]).subscribe(Tn(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?lT(r,a):a),i.complete())}))}});return t?o.pipe(function uT(e){return cn(t=>function aT(e,t){return sT(t)?e(...t):e(t)}(e,t))}(t)):o}let ty=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(_(_n),_(ut))},e.\u0275dir=x({type:e}),e})(),In=(()=>{class e extends ty{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function Se(e){return xt(()=>{const t=e.prototype.constructor,n=t[Ot]||ea(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Ot]||ea(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275dir=x({type:e,features:[q]}),e})();const Nt=new M("NgValueAccessor"),fT={provide:Nt,useExisting:Q(()=>Xi),multi:!0},pT=new M("CompositionEventMode");let Xi=(()=>{class e extends ty{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function hT(){const e=mr()?mr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(_(_n),_(ut),_(pT,8))},e.\u0275dir=x({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&ke("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[re([fT]),q]}),e})();const gT=!1;function rn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function ry(e){return null!=e&&"number"==typeof e.length}const xe=new M("NgValidators"),on=new M("NgAsyncValidators"),mT=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Al{static min(t){return function oy(e){return t=>{if(rn(t.value)||rn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function iy(e){return t=>{if(rn(t.value)||rn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function sy(e){return rn(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function ay(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function uy(e){return rn(e.value)||mT.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function ly(e){return t=>rn(t.value)||!ry(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function cy(e){return t=>ry(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function dy(e){if(!e)return Qi;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(rn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return yy(t)}static composeAsync(t){return Dy(t)}}function Qi(e){return null}function fy(e){return null!=e}function hy(e){const t=_i(e)?Cs(e):e;if(gT&&!Nh(t)){let n="Expected async validator to return Promise or Observable.";throw"object"==typeof e&&(n+=" Are you using a synchronous validator where an async validator is expected?"),new C(-1101,n)}return t}function py(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function gy(e,t){return t.map(n=>n(e))}function my(e){return e.map(t=>function yT(e){return!e.validate}(t)?t:n=>t.validate(n))}function yy(e){if(!e)return null;const t=e.filter(fy);return 0==t.length?null:function(n){return py(gy(n,t))}}function Tl(e){return null!=e?yy(my(e)):null}function Dy(e){if(!e)return null;const t=e.filter(fy);return 0==t.length?null:function(n){return cT(gy(n,t).map(hy)).pipe(cn(py))}}function Nl(e){return null!=e?Dy(my(e)):null}function vy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function _y(e){return e._rawValidators}function Cy(e){return e._rawAsyncValidators}function Fl(e){return e?Array.isArray(e)?e:[e]:[]}function Ji(e,t){return Array.isArray(e)?e.includes(t):e===t}function Ey(e,t){const n=Fl(t);return Fl(e).forEach(o=>{Ji(n,o)||n.push(o)}),n}function wy(e,t){return Fl(t).filter(n=>!Ji(e,n))}class by{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Tl(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Nl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Be extends by{get formDirective(){return null}get path(){return null}}class sn extends by{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class My{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Iy=(()=>{class e extends My{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(sn,2))},e.\u0275dir=x({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ei("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[q]}),e})(),Sy=(()=>{class e extends My{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(Be,10))},e.\u0275dir=x({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Ei("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[q]}),e})();function Ay(e,t){return e?`with name: '${t}'`:`at index: ${t}`}const Ol=!1,fo="VALID",ts="INVALID",yr="PENDING",ho="DISABLED";function Rl(e){return(ns(e)?e.validators:e)||null}function kl(e,t){return(ns(t)?t.asyncValidators:e)||null}function ns(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Ty(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new C(1e3,Ol?function CT(e){return`\n    There are no form controls registered with this ${e?"group":"array"} yet. If you're using ngModel,\n    you may want to check next tick (e.g. use setTimeout).\n  `}(t):"");if(!r[n])throw new C(1001,Ol?function ET(e,t){return`Cannot find form control ${Ay(e,t)}`}(t,n):"")}function Ny(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,Ol?function wT(e,t){return`Must supply a value for form control ${Ay(e,t)}`}(t,o):"")})}class rs{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===fo}get invalid(){return this.status===ts}get pending(){return this.status==yr}get disabled(){return this.status===ho}get enabled(){return this.status!==ho}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Ey(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Ey(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(wy(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(wy(t,this._rawAsyncValidators))}hasValidator(t){return Ji(this._rawValidators,t)}hasAsyncValidator(t){return Ji(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=yr,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=ho,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=fo,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fo||this.status===yr)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ho:fo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=yr,this._hasOwnPendingAsyncValidator=!0;const n=hy(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ne,this.statusChanges=new Ne}_calculateStatus(){return this._allControlsDisabled()?ho:this.errors?ts:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(yr)?yr:this._anyControlsHaveStatus(ts)?ts:fo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ns(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function bT(e){return Array.isArray(e)?Tl(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function MT(e){return Array.isArray(e)?Nl(e):e||null}(this._rawAsyncValidators)}}class po extends rs{constructor(t,n,r){super(Rl(n),kl(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){Ny(this,!0,t),Object.keys(t).forEach(r=>{Ty(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class Fy extends po{}const Dr=new M("CallSetDisabledState",{providedIn:"root",factory:()=>os}),os="always";function go(e,t,n=os){Ll(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function ST(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&xy(e,t)})}(e,t),function TT(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function AT(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&xy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function IT(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ss(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),us(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function as(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Ll(e,t){const n=_y(e);null!==t.validator?e.setValidators(vy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=Cy(e);null!==t.asyncValidator?e.setAsyncValidators(vy(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();as(t._rawValidators,o),as(t._rawAsyncValidators,o)}function us(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=_y(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=Cy(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return as(t._rawValidators,r),as(t._rawAsyncValidators,r),n}function xy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ry(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ky(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const yo=class extends rs{constructor(t=null,n,r){super(Rl(n),kl(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ns(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=ky(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Ry(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ry(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){ky(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};let jy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=x({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),Uy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=Dt({}),e})();const $l=new M("NgModelWithFormControlWarning"),UT={provide:Be,useExisting:Q(()=>ls)};let ls=(()=>{class e extends Be{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ne,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(us(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return go(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){ss(n.control||null,n,!1),function PT(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,function Oy(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(ss(r||null,n),(e=>e instanceof yo)(o)&&(go(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function Py(e,t){Ll(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function NT(e,t){return us(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ll(this.form,this),this._oldForm&&us(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(n){return new(n||e)(_(xe,10),_(on,10),_(Dr,8))},e.\u0275dir=x({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){1&n&&ke("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[re([UT]),q,Lt]}),e})();const WT={provide:sn,useExisting:Q(()=>zl)};let zl=(()=>{class e extends sn{set isDisabled(n){}constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Ne,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Hl(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Xi?n=i:function xT(e){return Object.getPrototypeOf(e.constructor)===In}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function Bl(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function is(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(_(Be,13),_(xe,10),_(on,10),_(Nt,10),_($l,8))},e.\u0275dir=x({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[re([WT]),q,Lt]}),e})(),aN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=Dt({imports:[Uy]}),e})();class iD extends rs{constructor(t,n,r){super(Rl(n),kl(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){Ny(this,!1,t),t.forEach((r,o)=>{Ty(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function sD(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let uN=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const n=new e;return n.useNonNullable=!0,n}group(n,r=null){const o=this._reduceControls(n);let i={};return sD(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new po(o,i)}record(n,r=null){const o=this._reduceControls(n);return new Fy(o,r)}control(n,r,o){let i={};return this.useNonNullable?(sD(r)?i=r:(i.validators=r,i.asyncValidators=o),new yo(n,{...i,nonNullable:!0})):new yo(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new iD(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return n instanceof yo||n instanceof rs?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),lN=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:$l,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Dr,useValue:n.callSetDisabledState??os}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=Dt({imports:[aN]}),e})();class cs{}class Yl{}class Kt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Kt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Kt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Kt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class hN{encodeKey(t){return aD(t)}encodeValue(t){return aD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const gN=/%(\d[a-f0-9])/gi,mN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function aD(e){return encodeURIComponent(e).replace(gN,(t,n)=>mN[n]??t)}function ds(e){return`${e}`}class an{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new hN,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function pN(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(ds):[ds(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new an({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(ds(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(ds(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class yN{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function uD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function lD(e){return typeof Blob<"u"&&e instanceof Blob}function cD(e){return typeof FormData<"u"&&e instanceof FormData}class Do{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function DN(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Kt),this.context||(this.context=new yN),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new an,this.urlWithParams=n}serializeBody(){return null===this.body?null:uD(this.body)||lD(this.body)||cD(this.body)||function vN(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof an?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||cD(this.body)?null:lD(this.body)?this.body.type||null:uD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof an?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new Do(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var ye=(()=>((ye=ye||{})[ye.Sent=0]="Sent",ye[ye.UploadProgress=1]="UploadProgress",ye[ye.ResponseHeader=2]="ResponseHeader",ye[ye.DownloadProgress=3]="DownloadProgress",ye[ye.Response=4]="Response",ye[ye.User=5]="User",ye))();class Zl{constructor(t,n=200,r="OK"){this.headers=t.headers||new Kt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Xl extends Zl{constructor(t={}){super(t),this.type=ye.ResponseHeader}clone(t={}){return new Xl({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class fs extends Zl{constructor(t={}){super(t),this.type=ye.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new fs({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class dD extends Zl{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Ql(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let fD=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Do)i=n;else{let u,l;u=o.headers instanceof Kt?o.headers:new Kt(o.headers),o.params&&(l=o.params instanceof an?o.params:new an({fromObject:o.params})),i=new Do(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=function cN(...e){return Cs(e,wc(e))}(i).pipe(function dN(e,t){return ne(t)?Mo(e,t,1):Mo(e,1)}(u=>this.handler.handle(u)));if(n instanceof Do||"events"===o.observe)return s;const a=s.pipe(function fN(e,t){return An((n,r)=>{let o=0;n.subscribe(Tn(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof fs));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(cn(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(cn(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(cn(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(cn(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new an).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ql(o,r))}post(n,r,o={}){return this.request("POST",n,Ql(o,r))}put(n,r,o={}){return this.request("PUT",n,Ql(o,r))}}return e.\u0275fac=function(n){return new(n||e)(V(cs))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();function hD(e,t){return t(e)}function _N(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const EN=new M("HTTP_INTERCEPTORS"),vo=new M("HTTP_INTERCEPTOR_FNS");function wN(){let e=null;return(t,n)=>(null===e&&(e=(Fn(EN,{optional:!0})??[]).reduceRight(_N,hD)),e(t,n))}let pD=(()=>{class e extends cs{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=Array.from(new Set(this.injector.get(vo)));this.chain=r.reduceRight((o,i)=>function CN(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),hD)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(V(Yl),V(vn))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();const SN=/^\)\]\}',?\n/;let mD=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new we(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=o.statusText||"OK",p=new Kt(o.getAllResponseHeaders()),g=function AN(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Xl({headers:p,status:o.status,statusText:h,url:g}),s},u=()=>{let{headers:h,status:p,statusText:g,url:v}=a(),y=null;204!==p&&(y=typeof o.response>"u"?o.responseText:o.response),0===p&&(p=y?200:0);let w=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof y){const m=y;y=y.replace(SN,"");try{y=""!==y?JSON.parse(y):null}catch(S){y=m,w&&(w=!1,y={error:S,text:y})}}w?(r.next(new fs({body:y,headers:h,status:p,statusText:g,url:v||void 0})),r.complete()):r.error(new dD({error:y,headers:h,status:p,statusText:g,url:v||void 0}))},l=h=>{const{url:p}=a(),g=new dD({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:p||void 0});r.error(g)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:ye.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&o.responseText&&(p.partialText=o.responseText),r.next(p)},f=h=>{let p={type:ye.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return o.addEventListener("load",u),o.addEventListener("error",l),o.addEventListener("timeout",l),o.addEventListener("abort",l),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:ye.Sent}),()=>{o.removeEventListener("error",l),o.removeEventListener("abort",l),o.removeEventListener("load",u),o.removeEventListener("timeout",l),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(V(Fm))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();const Jl=new M("XSRF_ENABLED"),yD=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),DD=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class vD{}let FN=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=vm(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(V(Tt),V($u),V(yD))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e})();function xN(e,t){const n=e.url.toLowerCase();if(!Fn(Jl)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=Fn(vD).getToken(),o=Fn(DD);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var fe=(()=>((fe=fe||{})[fe.Interceptors=0]="Interceptors",fe[fe.LegacyInterceptors=1]="LegacyInterceptors",fe[fe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",fe[fe.NoXsrfProtection=3]="NoXsrfProtection",fe[fe.JsonpSupport=4]="JsonpSupport",fe[fe.RequestsMadeViaParent=5]="RequestsMadeViaParent",fe))();function vr(e,t){return{\u0275kind:e,\u0275providers:t}}function PN(...e){const t=[fD,mD,pD,{provide:cs,useExisting:pD},{provide:Yl,useExisting:mD},{provide:vo,useValue:xN,multi:!0},{provide:Jl,useValue:!0},{provide:vD,useClass:FN}];for(const n of e)t.push(...n.\u0275providers);return function $C(e){return{\u0275providers:e}}(t)}const _D=new M("LEGACY_INTERCEPTOR_FN");let RN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=Dt({providers:[PN(vr(fe.LegacyInterceptors,[{provide:_D,useFactory:wN},{provide:vo,useExisting:_D,multi:!0}]))]}),e})(),kN=(()=>{class e{constructor(n){this.http=n}sendQuery(n){return this.http.post("https://testologia.site/intensive-price",n)}getData(){return this.http.get("https://testologia.site/intensive-data")}}return e.\u0275fac=function(n){return new(n||e)(V(fD))},e.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function LN(e,t){if(1&e){const n=hu();W(0,"div",32)(1,"div",33),dt(2,"img",34),Y(),W(3,"div",35),le(4),Y(),W(5,"div",36)(6,"div",37),dt(7,"img",38),W(8,"div"),le(9,"\u041f\u0440\u0438\u0432\u043e\u0434"),Y(),W(10,"div"),le(11),Y()(),W(12,"div",37),dt(13,"img",39),W(14,"div"),le(15,"\u0414\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c"),Y(),W(16,"div"),le(17),Y()(),W(18,"div",37),dt(19,"img",40),W(20,"div"),le(21,"\u041a\u043e\u043b-\u0432\u043e \u043c\u0435\u0441\u0442"),Y(),W(22,"div"),le(23),Y()()(),W(24,"div",41)(25,"button",42),ke("click",function(){const i=Vs(n).$implicit,s=Rh(),a=lu(35);return Bs(s.goScroll(a,i))}),le(26,"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c"),Y()()()}if(2&e){const n=t.$implicit;ct(2),pu("src",n.image,xa),ct(2),cr(n.name),ct(7),cr(n.gear),ct(6),cr(n.engine),ct(6),cr(n.places)}}let VN=(()=>{class e{constructor(n,r){this.fb=n,this.appServise=r,this.priceForm=this.fb.group({name:["",Al.required],phone:["",Al.required],car:["",Al.required]})}ngOnInit(){this.appServise.getData().subscribe(n=>this.carsData=n)}goScroll(n,r){n.scrollIntoView({behavior:"smooth"}),r&&this.priceForm.patchValue({car:r.name})}onMouseMove(n){this.trans={transform:"translate3d("+.3*n.clientX/8+"px,"+.3*n.clientY/8+"px,0px)"}}onScroll(){this.bgPos={backgroundPositionX:"0"+.3*window.scrollY+"px"}}onSubmit(){this.priceForm.valid&&(this.appServise.sendQuery(this.priceForm.value).subscribe({next:n=>{alert(n.message),this.priceForm.reset()},error:n=>{alert(n.error.message)}}),this.priceForm.reset())}}return e.\u0275fac=function(n){return new(n||e)(_(uN),_(kN))},e.\u0275cmp=Rc({type:e,selectors:[["app-root"]],hostBindings:function(n,r){1&n&&ke("mousemove",function(i){return r.onMouseMove(i)},0,Ua)("scroll",function(i){return r.onScroll(i)},!1,Ua)},decls:54,vars:5,consts:[[1,"head"],[1,"cont"],[1,"logo"],["src","assets/img/logo.png","alt","logo"],[1,"menu"],[1,"menu_li"],["href","#"],["href","#cars"],["href","#price"],[1,"main",3,"ngStyle"],[1,"main_inf"],[1,"main_title"],[1,"main_text"],[1,"main_but"],["id","main-action",1,"but",3,"click"],["id","cars",1,"car"],["cars",""],[1,"sub_title"],[1,"car-items"],["class","car_item",4,"ngFor","ngForOf"],["id","price",1,"price"],["price",""],[1,"price_text"],["action","",1,"price_form",3,"formGroup"],["type","text","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","id","name","formControlName","name",1,"price-input"],["type","text","placeholder","\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d","id","phone","formControlName","phone",1,"price-input"],["type","text","placeholder","\u0410\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442","id","car","formControlName","car",1,"price-input"],["type","button","id","price-action",1,"but",3,"disabled","click"],["src","assets/img/rolls.png","alt","Rols",1,"rols-price",3,"ngStyle"],[1,"foot"],["src","assets/img/logo.png","alt","LUXORIDES"],[1,"rights"],[1,"car_item"],[1,"car_img"],["alt","car",3,"src"],[1,"car_name"],[1,"car_item_inf"],[1,"car_point_inf"],["src","assets/img/gear.png","alt","Gear"],["src","assets/img/wheel.png","alt","Wheel"],["src","assets/img/belt.png","alt","Belt"],[1,"car-item-act"],[1,"but","car-button",3,"click"]],template:function(n,r){if(1&n){const o=hu();W(0,"header",0)(1,"div",1)(2,"div",2),dt(3,"img",3),Y(),W(4,"nav",4)(5,"ul")(6,"li",5)(7,"a",6),le(8,"\u0413\u043b\u0430\u0432\u043d\u0430\u044f"),Y()(),W(9,"li",5)(10,"a",7),le(11,"\u0410\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0438"),Y()(),W(12,"li",5)(13,"a",8),le(14," \u0411\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0432\u0442\u043e"),Y()()()()()(),W(15,"section",9)(16,"div",1)(17,"div",10)(18,"h1",11),le(19,"\u0410\u0440\u0435\u043d\u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u0430\u043b\u044c\u043d\u044b\u0445 "),dt(20,"br"),le(21," \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0435\u0439"),Y(),W(22,"div",12),le(23,"\u0412 \u043d\u0430\u0448\u0435\u043c \u043a\u043b\u0443\u0431\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0441\u043e\u043b\u0438\u0434\u043d\u0430\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0435\u0439 \u2014 \u043e\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0434\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u0433\u043e\u043d\u043e\u0447\u043d\u043e\u0433\u043e \u044d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u0430. \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0431\u044b\u0432\u0430\u0442\u044c \u0437\u0430 \u0440\u0443\u043b\u0435\u043c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u043b\u0435\u0433\u0435\u043d\u0434\u044b \u0438 \u0443\u0437\u043d\u0430\u0442\u044c, \u043d\u0430 \u0447\u0442\u043e \u043e\u043d\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u0433\u043e\u043d\u043e\u0447\u043d\u043e\u0439 \u0442\u0440\u0430\u0441\u0441\u044b! "),Y(),W(24,"div",13)(25,"button",14),ke("click",function(){Vs(o);const s=lu(28);return Bs(r.goScroll(s))}),le(26,"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0438"),Y()()()()(),W(27,"section",15,16)(29,"div",1)(30,"h2",17),le(31,"\u041d\u0430\u0448 \u0430\u0432\u0442\u043e\u043f\u0430\u0440\u043a"),Y(),W(32,"div",18),function Sh(e,t,n,r,o,i,s,a){const u=D(),l=H(),c=e+te,d=l.firstCreatePass?function $E(e,t,n,r,o,i,s,a,u){const l=t.consts,c=Jn(t,e,4,s||null,Xt(l,a));eu(t,n,c,Xt(l,u)),jo(t,c);const d=c.tView=Ja(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];Et(d,!1);const f=u[L].createComment("");ni(l,u,f,d),Ae(f,u),pi(u,u[c]=ah(f,u,f,d)),Vo(d)&&Xa(l,u,d),null!=s&&Qa(u,d,a)}(33,LN,27,5,"div",19),Y()()(),W(34,"section",20,21)(36,"div",1)(37,"h2",17),le(38," \u0423\u0437\u043d\u0430\u0442\u044c \u0446\u0435\u043d\u0443 \u0438 \u0437\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c "),Y(),W(39,"div",22),le(40,"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0438 \u043c\u044b \u043f\u0435\u0440\u0435\u0437\u0432\u043e\u043d\u0438\u043c \u0432\u0430\u043c \u0434\u043b\u044f \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f"),Y(),W(41,"form",23),dt(42,"input",24)(43,"input",25)(44,"input",26),W(45,"button",27),ke("click",function(){return r.onSubmit()}),le(46,"\u0423\u0437\u043d\u0430\u0442\u044c \u0446\u0435\u043d\u0443"),Y()(),dt(47,"img",28),Y()(),W(48,"footer",29)(49,"div",1)(50,"div",2),dt(51,"img",30),Y(),W(52,"div",31),le(53," \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b "),Y()()()}2&n&&(ct(15),En("ngStyle",r.bgPos),ct(18),En("ngForOf",r.carsData),ct(8),En("formGroup",r.priceForm),ct(4),En("disabled",!r.priceForm.valid),ct(2),En("ngStyle",r.trans))},dependencies:[wm,Sm,jy,Xi,Iy,Sy,ls,zl],styles:["*[_ngcontent-%COMP%]{padding:0;margin:0}@font-face{font-family:Roboto;src:url(/cars-app/Roboto.3d305e3241f69eb1.ttf)}@font-face{font-family:Robotobold;src:url(/cars-app/Robotobold.6262c49945b78f15.ttf)}body[_ngcontent-%COMP%]{font-family:Roboto,sans-serif}.head[_ngcontent-%COMP%]{border-bottom:1px solid #E5E5E5;padding:25px 0}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:bottom}.cont[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto}.head[_ngcontent-%COMP%]   .cont[_ngcontent-%COMP%]{display:flex;align-items:center}.menu[_ngcontent-%COMP%]{margin-left:240px}.menu[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;display:flex}.menu_li[_ngcontent-%COMP%]{margin-right:115px}.menu_li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:15px;color:#030305;text-decoration:none}.menu_li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{border-bottom:2px solid black}.main[_ngcontent-%COMP%]{background-image:url(/cars-app/background.8e141689b250a350.png);background-position:center;background-size:cover;padding:104px 0 154px}.main_inf[_ngcontent-%COMP%]{max-width:855px}.main_text[_ngcontent-%COMP%]{font-size:16px;line-height:130%;color:#030305;margin-bottom:40px;max-width:502px}.main_title[_ngcontent-%COMP%]{font-weight:700;font-size:80px;line-height:110%;color:#030305;margin-bottom:40px}.but[_ngcontent-%COMP%]{padding:20px;width:334px;height:64px;background:#030305;border:0;box-sizing:border-box;text-align:center;font-weight:700;font-size:16px;letter-spacing:.02em;text-transform:uppercase;color:#fff;transition:background-color .5s}.but[_ngcontent-%COMP%]:hover:not(:disabled){cursor:pointer;background:#575757}.but[_ngcontent-%COMP%]:disabled{cursor:not-allowed;color:gray;background-color:#343434}.car[_ngcontent-%COMP%]{padding:100px 0}.sub_title[_ngcontent-%COMP%]{font-weight:700;font-size:60px;line-height:70px;color:#030305}.car-items[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}.car_item[_ngcontent-%COMP%]{max-width:384px;text-align:center;margin-top:40px}.car_img[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{transform:scale(1.1)}.car_img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:bottom;transition:all .3s}.car_name[_ngcontent-%COMP%]{font-weight:700;font-size:24px;line-height:150%;letter-spacing:.02em;color:#030305;padding:15px 0 17px}.car_item_inf[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.car_point_inf[_ngcontent-%COMP%]{width:110px;height:92px;margin:0 7.5px}.car_point_inf[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:11px}.car-item-act[_ngcontent-%COMP%]{margin-top:13px}.car-item-act[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;padding:15px;height:54px}.car_point_inf[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){font-weight:700}.price[_ngcontent-%COMP%]{overflow:hidden}.price[_ngcontent-%COMP%]   .cont[_ngcontent-%COMP%]{position:relative;padding-bottom:121px}.price[_ngcontent-%COMP%]   .sub_title[_ngcontent-%COMP%]{margin-bottom:20px}.price_text[_ngcontent-%COMP%]{font-size:16px;line-height:130%;color:#5d5d5f;margin-bottom:60px}.price_form[_ngcontent-%COMP%]{max-width:344px}.price-input[_ngcontent-%COMP%]{padding:22px 18px;width:344px;height:65px;background:#FFFFFF;border:1px solid #5D5D5F;box-sizing:border-box;font-size:16px;color:#000;outline:none;margin-bottom:15px}.price-input[_ngcontent-%COMP%]::placeholder{color:#5d5d5f}.price[_ngcontent-%COMP%]   .but[_ngcontent-%COMP%]{width:100%}.rols-price[_ngcontent-%COMP%]{position:absolute;bottom:0;left:401px}.foot[_ngcontent-%COMP%]{border-top:1px solid #030305;padding:25px 0}.foot[_ngcontent-%COMP%]   .cont[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.rights[_ngcontent-%COMP%]{font-size:15px;line-height:18px;text-align:right;color:#030305}.price-input.ng-touched.ng-valid[_ngcontent-%COMP%]{border:1px solid #5D5D5F}.price-input.ng-touched.ng-invalid[_ngcontent-%COMP%]{border:1px solid red}"]}),e})(),BN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Rt({type:e,bootstrap:[VN]}),e.\u0275inj=Dt({imports:[WA,lN,RN]}),e})();zA().bootstrapModule(BN).catch(e=>console.error(e))}},ne=>{ne(ne.s=2)}]);